<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Details - Start Page</title>
<script>


function viewAllJourney(){
	window.open("customer/viewAllJourney.do", "journey", 'height=600,width=900');
}

function viewAllFlights(){
	window.open("customer/viewAllFlights.do", "flights", 'height=600,width=900');
}
</script>
</head>
<body>
<table>
	<tr>
	<td style="COLOR: #0000ff; FONT-SIZE: medium; FONT-FAMILY: 'Verdana'; FONT-WEIGHT: bold;"> Welcome <c:out value="${user.lastName}"></c:out>, <c:out value="${user.firstName}"></c:out> </td>
	
</tr>
</table>
<table>

	<tr>
		<td>
			<table>
				<tr> <td> &nbsp; </td></tr>
			
			
			</table>
		<table align="left" style="BACKGROUND-COLOR: #c0c0c0;COLOR: #004040; FONT-WEIGHT: bold; FONT-SIZE: x-small; FONT-FAMILY: 'Verdana'; vertical-align: top;border-bottom-style:solid; ; border-bottom-color: gray; 
							border-right-style:solid; ; border-right-color: gray; 
							border-left-style:solid; ; border-left-color: gray; border-top-style:solid; ; border-top-color: gray; width : 172px;">
			
			<tr>
				<td><a href="javascript:viewAllJourney()">View All Journey</a></td>
			</tr>
			
			<tr>
				<td><a href="javascript:viewAllFlights()">List All Flights</a></td>
			</tr>
		</table>		
		</td>
		
	</tr>
</table>

</body>
</html>